[INFO] fetching crate rustkit-clang-sys 0.24.0...
[INFO] checking rustkit-clang-sys-0.24.0 against master#e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682 for beta-170-4
[INFO] extracting crate rustkit-clang-sys 0.24.0 into /workspace/builds/worker-1-tc2/source
[INFO] validating manifest of crates.io crate rustkit-clang-sys 0.24.0 on toolchain e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate rustkit-clang-sys 0.24.0
[INFO] finished tweaking crates.io crate rustkit-clang-sys 0.24.0
[INFO] tweaked toml for crates.io crate rustkit-clang-sys 0.24.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] abafcae7324f719c0160deffb159eef9575db6bfa5ef8e1f8ec3e3be6559b645
[INFO] running `Command { std: "docker" "start" "-a" "abafcae7324f719c0160deffb159eef9575db6bfa5ef8e1f8ec3e3be6559b645", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "abafcae7324f719c0160deffb159eef9575db6bfa5ef8e1f8ec3e3be6559b645", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "abafcae7324f719c0160deffb159eef9575db6bfa5ef8e1f8ec3e3be6559b645", kill_on_drop: false }`
[INFO] [stdout] abafcae7324f719c0160deffb159eef9575db6bfa5ef8e1f8ec3e3be6559b645
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e6e4f7ed1589e03bc2f6c5931c1a72e7947e8682" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ef7c051c475d9a4afda57cb72223041b4a89a7d156ace7e9dd88ec5dbb1db94c
[INFO] running `Command { std: "docker" "start" "-a" "ef7c051c475d9a4afda57cb72223041b4a89a7d156ace7e9dd88ec5dbb1db94c", kill_on_drop: false }`
[INFO] [stderr]    Compiling glob v0.2.11
[INFO] [stderr]    Compiling rustkit-clang-sys v0.24.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> build.rs:131:5
[INFO] [stdout]     |
[INFO] [stdout] 131 |     try!(file.read_exact(&mut elf).map_err(|e| e.to_string()));
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> build.rs:129:20
[INFO] [stdout]     |
[INFO] [stdout] 129 |     let mut file = try!(File::open(file).map_err(|e| e.to_string()));
[INFO] [stdout]     |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> build.rs:145:5
[INFO] [stdout]     |
[INFO] [stdout] 145 |     try!(file.seek(SeekFrom::Start(0x3C)).map_err(|e| e.to_string()));
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> build.rs:146:5
[INFO] [stdout]     |
[INFO] [stdout] 146 |     try!(file.read_exact(&mut pe).map_err(|e| e.to_string()));
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> build.rs:150:5
[INFO] [stdout]     |
[INFO] [stdout] 150 |     try!(file.seek(SeekFrom::Start(offset as u64)).map_err(|e| e.to_string()));
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> build.rs:151:5
[INFO] [stdout]     |
[INFO] [stdout] 151 |     try!(file.read_exact(&mut pe).map_err(|e| e.to_string()));
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> build.rs:157:5
[INFO] [stdout]     |
[INFO] [stdout] 157 |     try!(file.seek(SeekFrom::Current(20)).map_err(|e| e.to_string()));
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> build.rs:158:5
[INFO] [stdout]     |
[INFO] [stdout] 158 |     try!(file.read_exact(&mut pe).map_err(|e| e.to_string()));
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> build.rs:141:20
[INFO] [stdout]     |
[INFO] [stdout] 141 |     let mut file = try!(File::open(file).map_err(|e| e.to_string()));
[INFO] [stdout]     |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> build.rs:176:25
[INFO] [stdout]     |
[INFO] [stdout] 176 |             let class = try!(parse_elf_header(file));
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> build.rs:188:25
[INFO] [stdout]     |
[INFO] [stdout] 188 |             let magic = try!(parse_pe_header(file));
[INFO] [stdout]     |                         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]    --> build.rs:381:91
[INFO] [stdout]     |
[INFO] [stdout] 381 |     println!("cargo:rustc-link-search=native={}", run_llvm_config(&["--libdir"]).unwrap().trim_right());
[INFO] [stdout]     |                                                                                           ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 381 |     println!("cargo:rustc-link-search=native={}", run_llvm_config(&["--libdir"]).unwrap().trim_end());
[INFO] [stdout]     |                                                                                           ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]    --> build.rs:448:42
[INFO] [stdout]     |
[INFO] [stdout] 448 |         let directory = Path::new(output.trim_right());
[INFO] [stdout]     |                                          ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 448 |         let directory = Path::new(output.trim_end());
[INFO] [stdout]     |                                          ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]    --> src/support.rs:127:9
[INFO] [stdout]     |
[INFO] [stdout] 127 |     use libc;
[INFO] [stdout]     |         ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:34:1
[INFO] [stdout]     |
[INFO] [stdout] 34  | extern crate libc;
[INFO] [stdout]     | ------------------ the item `libc` is already imported here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `libc` is imported redundantly
[INFO] [stdout]    --> src/support.rs:127:9
[INFO] [stdout]     |
[INFO] [stdout] 127 |     use libc;
[INFO] [stdout]     |         ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/lib.rs:34:1
[INFO] [stdout]     |
[INFO] [stdout] 34  | extern crate libc;
[INFO] [stdout]     | ------------------ the item `libc` is already imported here
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `CXCursorAndRangeVisitor` does not permit zero-initialization
[INFO] [stdout]     --> src/lib.rs:95:26
[INFO] [stdout]      |
[INFO] [stdout] 95   |                 unsafe { mem::zeroed() }
[INFO] [stdout]      |                          ^^^^^^^^^^^^^
[INFO] [stdout]      |                          |
[INFO] [stdout]      |                          this code causes undefined behavior when executed
[INFO] [stdout]      |                          help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout] ...
[INFO] [stdout] 1256 | default!(CXCursorAndRangeVisitor);
[INFO] [stdout]      | --------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout] note: function pointers must be non-null (in this struct field)
[INFO] [stdout]     --> src/lib.rs:1253:5
[INFO] [stdout]      |
[INFO] [stdout] 1253 |     pub visit: extern fn(*mut c_void, CXCursor, CXSourceRange) -> CXVisitorResult,
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: `#[warn(invalid_value)]` on by default
[INFO] [stdout]      = note: this warning originates in the macro `default` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `CXCursorAndRangeVisitor` does not permit zero-initialization
[INFO] [stdout]     --> src/lib.rs:95:26
[INFO] [stdout]      |
[INFO] [stdout] 95   |                 unsafe { mem::zeroed() }
[INFO] [stdout]      |                          ^^^^^^^^^^^^^
[INFO] [stdout]      |                          |
[INFO] [stdout]      |                          this code causes undefined behavior when executed
[INFO] [stdout]      |                          help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout] ...
[INFO] [stdout] 1256 | default!(CXCursorAndRangeVisitor);
[INFO] [stdout]      | --------------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout] note: function pointers must be non-null (in this struct field)
[INFO] [stdout]     --> src/lib.rs:1253:5
[INFO] [stdout]      |
[INFO] [stdout] 1253 |     pub visit: extern fn(*mut c_void, CXCursor, CXSourceRange) -> CXVisitorResult,
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: `#[warn(invalid_value)]` on by default
[INFO] [stdout]      = note: this warning originates in the macro `default` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `IndexerCallbacks` does not permit zero-initialization
[INFO] [stdout]     --> src/lib.rs:95:26
[INFO] [stdout]      |
[INFO] [stdout] 95   |                 unsafe { mem::zeroed() }
[INFO] [stdout]      |                          ^^^^^^^^^^^^^
[INFO] [stdout]      |                          |
[INFO] [stdout]      |                          this code causes undefined behavior when executed
[INFO] [stdout]      |                          help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout] ...
[INFO] [stdout] 1588 | default!(IndexerCallbacks);
[INFO] [stdout]      | -------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout] note: function pointers must be non-null (in this struct field)
[INFO] [stdout]     --> src/lib.rs:1578:5
[INFO] [stdout]      |
[INFO] [stdout] 1578 |     pub abortQuery: extern fn(CXClientData, *mut c_void) -> c_int,
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: this warning originates in the macro `default` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the type `IndexerCallbacks` does not permit zero-initialization
[INFO] [stdout]     --> src/lib.rs:95:26
[INFO] [stdout]      |
[INFO] [stdout] 95   |                 unsafe { mem::zeroed() }
[INFO] [stdout]      |                          ^^^^^^^^^^^^^
[INFO] [stdout]      |                          |
[INFO] [stdout]      |                          this code causes undefined behavior when executed
[INFO] [stdout]      |                          help: use `MaybeUninit<T>` instead, and only call `assume_init` after initialization is done
[INFO] [stdout] ...
[INFO] [stdout] 1588 | default!(IndexerCallbacks);
[INFO] [stdout]      | -------------------------- in this macro invocation
[INFO] [stdout]      |
[INFO] [stdout] note: function pointers must be non-null (in this struct field)
[INFO] [stdout]     --> src/lib.rs:1578:5
[INFO] [stdout]      |
[INFO] [stdout] 1578 |     pub abortQuery: extern fn(CXClientData, *mut c_void) -> c_int,
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: this warning originates in the macro `default` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `clang_sys`
[INFO] [stdout]  --> tests/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | extern crate clang_sys;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `support`
[INFO] [stdout]   --> tests/lib.rs:44:17
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let clang = support::Clang::find(None, &[]).unwrap();
[INFO] [stdout]    |                 ^^^^^^^ use of undeclared crate or module `support`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `clang_createIndex` in this scope
[INFO] [stdout]   --> tests/lib.rs:12:21
[INFO] [stdout]    |
[INFO] [stdout] 12 |         let index = clang_createIndex(0, 0);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `clang_parseTranslationUnit` in this scope
[INFO] [stdout]   --> tests/lib.rs:15:18
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let tu = clang_parseTranslationUnit(
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0463.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustkit-clang-sys` (test "lib") due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "ef7c051c475d9a4afda57cb72223041b4a89a7d156ace7e9dd88ec5dbb1db94c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ef7c051c475d9a4afda57cb72223041b4a89a7d156ace7e9dd88ec5dbb1db94c", kill_on_drop: false }`
[INFO] [stdout] ef7c051c475d9a4afda57cb72223041b4a89a7d156ace7e9dd88ec5dbb1db94c
